package com.ourteam.product.ui.dao;
/**
 * Template Name : DAO数据对象 Template Version : 1 Template Last Modfiy Date : Fri Aug 18 15:51:23 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:10 Warning ! This file will be overwrite when
 * regenerate !
 */
import org.apache.commons.lang.StringUtils;

public class ProductUIPageParam implements java.io.Serializable {

  public ProductUIPageParam() {
    super();
  }

  private long id;

  /** Attribute id Be Seted Falg */
  private boolean idSetted = false;

  /** Attribute id is Null Falg */
  private boolean idNull = false;

  /**
   * Get id
   *
   * @return long
   */
  public final long getId() {

    return id;
  }

  /**
   * Set id
   *
   * @param long
   */
  public final void setId(long id) {

    this.id = id;

    this.idSetted = true;

    this.setIdNull(false);
  }

  /**
   * Get id Has Been Setted
   *
   * @return boolean
   */
  public final boolean isIdSetted() {
    return this.idSetted;
  }

  /** Set id Null */
  public final void setIdNull() {

    this.idNull = true;
  }

  public final void setIdNull(boolean aNullFlag) {

    this.idNull = aNullFlag;
  }

  public final boolean isIdNull() {

    return this.idNull;
  }

  private long pageId;

  /** Attribute pageId Be Seted Falg */
  private boolean pageIdSetted = false;

  /** Attribute pageId is Null Falg */
  private boolean pageIdNull = false;

  /**
   * Get pageId
   *
   * @return long
   */
  public final long getPageId() {

    return pageId;
  }

  /**
   * Set pageId
   *
   * @param long
   */
  public final void setPageId(long pageId) {

    this.pageId = pageId;

    this.pageIdSetted = true;

    this.setPageIdNull(false);
  }

  /**
   * Get pageId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isPageIdSetted() {
    return this.pageIdSetted;
  }

  /** Set pageId Null */
  public final void setPageIdNull() {

    this.pageIdNull = true;
  }

  public final void setPageIdNull(boolean aNullFlag) {

    this.pageIdNull = aNullFlag;
  }

  public final boolean isPageIdNull() {

    return this.pageIdNull;
  }

  private long pageParamId;

  /** Attribute pageParamId Be Seted Falg */
  private boolean pageParamIdSetted = false;

  /** Attribute pageParamId is Null Falg */
  private boolean pageParamIdNull = false;

  /**
   * Get pageParamId
   *
   * @return long
   */
  public final long getPageParamId() {

    return pageParamId;
  }

  /**
   * Set pageParamId
   *
   * @param long
   */
  public final void setPageParamId(long pageParamId) {

    this.pageParamId = pageParamId;

    this.pageParamIdSetted = true;

    this.setPageParamIdNull(false);
  }

  /**
   * Get pageParamId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isPageParamIdSetted() {
    return this.pageParamIdSetted;
  }

  /** Set pageParamId Null */
  public final void setPageParamIdNull() {

    this.pageParamIdNull = true;
  }

  public final void setPageParamIdNull(boolean aNullFlag) {

    this.pageParamIdNull = aNullFlag;
  }

  public final boolean isPageParamIdNull() {

    return this.pageParamIdNull;
  }

  private String pageParamValue;

  /** Attribute pageParamValue Be Seted Falg */
  private boolean pageParamValueSetted = false;

  /** Attribute pageParamValue is Null Falg */
  private boolean pageParamValueNull = false;

  /**
   * Get pageParamValue
   *
   * @return String
   */
  public final String getPageParamValue() {

    if (isPageParamValueNull()) {
      return null;
    } else {
      return StringUtils.trim(pageParamValue);
    }
  }

  /**
   * Set pageParamValue
   *
   * @param String
   */
  public final void setPageParamValue(String pageParamValue) {

    this.pageParamValue = StringUtils.trim(pageParamValue);

    this.pageParamValueSetted = true;

    this.setPageParamValueNull(this.pageParamValue == null);
  }

  /**
   * Get pageParamValue Has Been Setted
   *
   * @return boolean
   */
  public final boolean isPageParamValueSetted() {
    return this.pageParamValueSetted;
  }

  /** Set pageParamValue Null */
  public final void setPageParamValueNull() {

    this.pageParamValueNull = true;
  }

  public final void setPageParamValueNull(boolean aNullFlag) {

    this.pageParamValueNull = aNullFlag;
  }

  public final boolean isPageParamValueNull() {

    return this.pageParamValueNull;
  }

  private String status;

  /** Attribute status Be Seted Falg */
  private boolean statusSetted = false;

  /** Attribute status is Null Falg */
  private boolean statusNull = false;

  /**
   * Get status
   *
   * @return String
   */
  public final String getStatus() {

    if (isStatusNull()) {
      return null;
    } else {
      return StringUtils.trim(status);
    }
  }

  /**
   * Set status
   *
   * @param String
   */
  public final void setStatus(String status) {

    this.status = StringUtils.trim(status);

    this.statusSetted = true;

    this.setStatusNull(this.status == null);
  }

  /**
   * Get status Has Been Setted
   *
   * @return boolean
   */
  public final boolean isStatusSetted() {
    return this.statusSetted;
  }

  /** Set status Null */
  public final void setStatusNull() {

    this.statusNull = true;
  }

  public final void setStatusNull(boolean aNullFlag) {

    this.statusNull = aNullFlag;
  }

  public final boolean isStatusNull() {

    return this.statusNull;
  }

  private String remarks;

  /** Attribute remarks Be Seted Falg */
  private boolean remarksSetted = false;

  /** Attribute remarks is Null Falg */
  private boolean remarksNull = false;

  /**
   * Get remarks
   *
   * @return String
   */
  public final String getRemarks() {

    if (isRemarksNull()) {
      return null;
    } else {
      return StringUtils.trim(remarks);
    }
  }

  /**
   * Set remarks
   *
   * @param String
   */
  public final void setRemarks(String remarks) {

    this.remarks = StringUtils.trim(remarks);

    this.remarksSetted = true;

    this.setRemarksNull(this.remarks == null);
  }

  /**
   * Get remarks Has Been Setted
   *
   * @return boolean
   */
  public final boolean isRemarksSetted() {
    return this.remarksSetted;
  }

  /** Set remarks Null */
  public final void setRemarksNull() {

    this.remarksNull = true;
  }

  public final void setRemarksNull(boolean aNullFlag) {

    this.remarksNull = aNullFlag;
  }

  public final boolean isRemarksNull() {

    return this.remarksNull;
  }

  private long pageParamValueId;

  /** Attribute pageParamValueId Be Seted Falg */
  private boolean pageParamValueIdSetted = false;

  /** Attribute pageParamValueId is Null Falg */
  private boolean pageParamValueIdNull = false;

  /**
   * Get pageParamValueId
   *
   * @return long
   */
  public final long getPageParamValueId() {

    return pageParamValueId;
  }

  /**
   * Set pageParamValueId
   *
   * @param long
   */
  public final void setPageParamValueId(long pageParamValueId) {

    this.pageParamValueId = pageParamValueId;

    this.pageParamValueIdSetted = true;

    this.setPageParamValueIdNull(false);
  }

  /**
   * Get pageParamValueId Has Been Setted
   *
   * @return boolean
   */
  public final boolean isPageParamValueIdSetted() {
    return this.pageParamValueIdSetted;
  }

  /** Set pageParamValueId Null */
  public final void setPageParamValueIdNull() {

    this.pageParamValueIdNull = true;
  }

  public final void setPageParamValueIdNull(boolean aNullFlag) {

    this.pageParamValueIdNull = aNullFlag;
  }

  public final boolean isPageParamValueIdNull() {

    return this.pageParamValueIdNull;
  }

  private String paramCode;

  /** Attribute paramCode Be Seted Falg */
  private boolean paramCodeSetted = false;

  /** Attribute paramCode is Null Falg */
  private boolean paramCodeNull = false;

  /**
   * Get paramCode
   *
   * @return String
   */
  public final String getParamCode() {

    if (isParamCodeNull()) {
      return null;
    } else {
      return StringUtils.trim(paramCode);
    }
  }

  /**
   * Set paramCode
   *
   * @param String
   */
  public final void setParamCode(String paramCode) {

    this.paramCode = StringUtils.trim(paramCode);

    this.paramCodeSetted = true;

    this.setParamCodeNull(this.paramCode == null);
  }

  /**
   * Get paramCode Has Been Setted
   *
   * @return boolean
   */
  public final boolean isParamCodeSetted() {
    return this.paramCodeSetted;
  }

  /** Set paramCode Null */
  public final void setParamCodeNull() {

    this.paramCodeNull = true;
  }

  public final void setParamCodeNull(boolean aNullFlag) {

    this.paramCodeNull = aNullFlag;
  }

  public final boolean isParamCodeNull() {

    return this.paramCodeNull;
  }

  private String paramDesc;

  /** Attribute paramDesc Be Seted Falg */
  private boolean paramDescSetted = false;

  /** Attribute paramDesc is Null Falg */
  private boolean paramDescNull = false;

  /**
   * Get paramDesc
   *
   * @return String
   */
  public final String getParamDesc() {

    if (isParamDescNull()) {
      return null;
    } else {
      return StringUtils.trim(paramDesc);
    }
  }

  /**
   * Set paramDesc
   *
   * @param String
   */
  public final void setParamDesc(String paramDesc) {

    this.paramDesc = StringUtils.trim(paramDesc);

    this.paramDescSetted = true;

    this.setParamDescNull(this.paramDesc == null);
  }

  /**
   * Get paramDesc Has Been Setted
   *
   * @return boolean
   */
  public final boolean isParamDescSetted() {
    return this.paramDescSetted;
  }

  /** Set paramDesc Null */
  public final void setParamDescNull() {

    this.paramDescNull = true;
  }

  public final void setParamDescNull(boolean aNullFlag) {

    this.paramDescNull = aNullFlag;
  }

  public final boolean isParamDescNull() {

    return this.paramDescNull;
  }

  private String paramInputType;

  /** Attribute paramInputType Be Seted Falg */
  private boolean paramInputTypeSetted = false;

  /** Attribute paramInputType is Null Falg */
  private boolean paramInputTypeNull = false;

  /**
   * Get paramInputType
   *
   * @return String
   */
  public final String getParamInputType() {

    if (isParamInputTypeNull()) {
      return null;
    } else {
      return StringUtils.trim(paramInputType);
    }
  }

  /**
   * Set paramInputType
   *
   * @param String
   */
  public final void setParamInputType(String paramInputType) {

    this.paramInputType = StringUtils.trim(paramInputType);

    this.paramInputTypeSetted = true;

    this.setParamInputTypeNull(this.paramInputType == null);
  }

  /**
   * Get paramInputType Has Been Setted
   *
   * @return boolean
   */
  public final boolean isParamInputTypeSetted() {
    return this.paramInputTypeSetted;
  }

  /** Set paramInputType Null */
  public final void setParamInputTypeNull() {

    this.paramInputTypeNull = true;
  }

  public final void setParamInputTypeNull(boolean aNullFlag) {

    this.paramInputTypeNull = aNullFlag;
  }

  public final boolean isParamInputTypeNull() {

    return this.paramInputTypeNull;
  }

  public int hashCode() {
    final int prime = 31;
    int result = 1;

    result = prime * result + (int) (getId() ^ (getId() >>> 32));

    return result;
  }

  public boolean equals(Object obj) {

    if (obj == null) {
      return false;
    }
    if ((obj instanceof ProductUIPageParam) == false) {
      return false;
    }
    ProductUIPageParam other = (ProductUIPageParam) obj;

    if (getId() != other.getId()) {
      return false;
    }

    return true;
  }

  public String toString() {

    StringBuffer buffer = new StringBuffer();

    buffer.append("[");

    buffer.append("id=");
    buffer.append(this.id);

    buffer.append("pageId=");
    buffer.append(this.pageId);

    buffer.append("pageParamId=");
    buffer.append(this.pageParamId);

    buffer.append("pageParamValue=");
    buffer.append(this.pageParamValue);

    buffer.append("status=");
    buffer.append(this.status);

    buffer.append("remarks=");
    buffer.append(this.remarks);

    buffer.append("paramCode=");
    buffer.append(this.paramCode);

    buffer.append("paramDesc=");
    buffer.append(this.paramDesc);

    buffer.append("paramInputType=");
    buffer.append(this.paramInputType);

    buffer.append("pageParamValueId=");
    buffer.append(this.pageParamValueId);

    buffer.append("]");

    return buffer.toString();
  }
}
